package com.affinity;


/**
 * Gives access to topology of CPUs for current machine
 *
 * @author cheremin
 * @since 27.04.12,  16:17
 */
public interface CPUTopologyService extends CPULayoutService {
    public enum Domain {
        SOCKETS,
        CORES,
        HARDWARE_THREADS
    }

    public Iterable<? extends CPUGroup> groupBy( final Domain type );

}
